<?php
// +----------------------------------------------------------------------
// | [ api-yun.lib ] wo.pan
// +----------------------------------------------------------------------
// | Author: 北菜菜 <1440802@qq.com>
// +----------------------------------------------------------------------

namespace wopan\lib;

/**
 * Class WoPanResponse
 * @package wopan\lib
 */
class WoPanResponse
{
    public $code;
    public $msg;
    public $data;
    public function __construct($code, $msg, $data)
    {
        $this->code = $code;
        $this->msg = $msg;
        $this->data = $data;
    }
    public function getData()
    {
        return ['data' => $this->data, 'code' => $this->code, 'msg' => $this->msg];
    }
}
